﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TfsLinker
{
    /// <summary>
    /// A critical exception that prevents further actions.
    /// </summary>
    class CriticalException : Exception
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public CriticalException(string msg) : base(msg) { }
    }

    /// <summary>
    /// A non-critical exception that only prevents the current action. Correct input data!
    /// </summary>
    class NonCriticalException : Exception
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public NonCriticalException() : base() { }

        /// <summary>
        /// Constructor
        /// </summary>
        public NonCriticalException(string msg) : base(msg) { }
    }
}
